﻿<a href="/" style="float:left;border-left:0px">@Strings.Home</a>

@if( User.IsInRole(Role.Admin)) {
   @Html.ActionLink( Strings.Admin_SiteAdministration, "Index", "Admin")
}
@if( User.InAnyRole(Role.Editor,Role.Author)) { 
	@Html.ActionLink( Strings.Admin_ContentManagement, "Index", "Admin")
}
@if (Request.IsAuthenticated) {
	@Html.ActionLink(Strings.Account_MyAccount, "MyAccount", new { controller = "Account" })                                                                                          
	@Html.ActionLink( Strings.Account_SignOut, "SignOut", "Account" ) 
} 
else 
{
	@Html.ActionLink(Strings.Account_SignIn, "SignIn", "Account")
	if( SiteConfiguration.AllowOpenRegistration ) {
		@Html.ActionLink(Strings.Account_Register, "Register", "Account" )
	}
}